package com.threeti.jiayusms.infrastructure.communicationtime;

import com.threeti.jiayusms.domain.model.CommunicationTime;
import com.threeti.jiayusms.framework.dao.GenericCustomKeyDao;
import com.threeti.jiayusms.framework.util.DynaSearchCriteria;
import com.threeti.jiayusms.framework.util.PagedListHandler;

public interface CommunicationTimeDao extends GenericCustomKeyDao<String, CommunicationTime>{

	PagedListHandler<CommunicationTime> findAllTimeTemplatesByPage(int currentPageIndex, int startingIndex);
	
	PagedListHandler<CommunicationTime> findTimeTemplatesByPage(DynaSearchCriteria dynaSearchCriteria, int currentPageIndex, int startingIndex);
}
